Remove white space from git branch details, this allows a response of 'HEAD (no branch)' to be correctly processed.
Merge pull request #487 from couchbase/feature/issue_485

Remove white space from git branch details