Prominently display the error message from TestFlight when an upload fails.

- Reset changes and go back to HEAD when an exception is thrown during the deploy task

[finishes #64014678]