Bug 11027: (follow-up) hide link if no basketgroup and use real branch name