Fix broken PA_PREFIX path

- Reset checkouts to master branch on each run
- Don't reset checkouts to master after tagging
- Quiet the detached head warnings