Add support for adding multiple packages to a repo

Instead of looping over a list and adding one package at a time, this update
adds all of the packages at once, per arch.