Simplify pending_indexes_exist and revert get_indexes_from_disk