Fix "download_main" not looping correctly
This was introduced in d45ca044, as noted in https://bugs.debian.org/973852.
This change fixes the function to loop over the supplied package list in the same way that "download_release" does (via $*
instead of $@
since the entire package list is coming as a single argument now instead of as multiple arguments).
I think that download_release
technically has a related bug where it assumes $#
is a useful value, but it likely only presents as a visual glitch in the progress calculation.