A simple change to include an uploadPemFile param since the download and upload repositories might be different