testing: Only attempt to copy patches if there are any