Bug #388269.
We have to expose RemoteRepository.get_cached_parent_map, and then
everything works. I want to have a test that asserts we don't call
get_parent_map_rpc on the stacked location over and over, but
so far I haven't been able to instrument it properly.