HCSVLAB-328: Fixed an issue when deploy from the current branch. (Remove the * from branch name if present)