Fix to repository_index_spec test