goto cleanup;
}
if ((rc = remote_add_indexes(repofile)) != EPKG_OK)
if ((rc = remote_add_indexes(pkg_repo_name(repo))) != EPKG_OK)
rc = EPKG_OK;