fix issue where there was a space after branchname