fix buildBranchName