streamlined RetrievePackagesHelper completely