If we exit because of an exception, then we need to clean up the repos, mainly get back to the default branch and remove any PR branches.