cache results of MongoModuleStore.get_parent_location