converted utility to use repo_packages