pkg_upload: remove unneeded local statement