package_upload: add script exit status based on upload success
package_install: better exit status check when uploading packages as sane