pkg_upload: make remotedir local