Fix test and noisy console output for git deploys

* Create deploy branch which tests expect
* ensure that test artifacts are in the correct dir
* Fix breaking test when running from a detached branch
Fix incorrect error reporting for put based deploy