Try this:
$page = $wp_query->get_queried_object();
$slug = $page->post_name;
PS I think next WP release will get proper custom post archives or something around that…
Try this:
$page = $wp_query->get_queried_object();
$slug = $page->post_name;
PS I think next WP release will get proper custom post archives or something around that…