Set the proper repository for upload.