Add version arg to add_packages_to_repo