up_repo: exit if no packages were selected.