wip: base_repository: fix load_cache()