Make uploading a patch actually work