Bug 15758: [QA Follow-up] Some corrections related to GetBranchName