Fix an error in the 'upload' script.

This fixes an error where the source package was added to the upload
list before it was created.