UnApplyPatchIfRequired won't work for pull-requests, we need a new step, RevertPullRequestIfRequired. Note that this step will checkout the base commit a pull-request was made from, so if building on this commit fails, retries won't help.
<rdar://problem/88187688>
Testing automation
Landed 246601@main (r288836)