The commandline output of git 1.9 changed a little bit. Therefore getting the branch name didn't work as expected
Merge pull request #351 from ccellar/PR/GitBranchName

Fix for getting the branch name with Git >= 1.9