If a patch is uploaded to the master but not installed you can remove the patch:
xe patch-list
look for the uuid of the patch which must removed and than
xe patch-destroy uuid=<uuid of patch>