}
else {
retcode = pkg_repo_fetch_package(p);
if (pkg_repo_fetch_package(p) != EPKG_OK)
if (retcode != EPKG_OK)
return (retcode);