fix getCurrentBranchName method (issue #449)
Version 0.13.8