Strange name...doesn't say anything about resources. `resource_index_from_package_exports` might be better.

I'd put a second argument `ros_package_path` (just like the package_index_from_package_path) in here. That's a habit I picked up watching what Damon and Dirk and William do - it lets them write tests on small slices of the package or even a fake test package path.