fix badge branch selection
Merge pull request #648 from rkusa/badge-branch-fix

fix badge branch selection