Add handling to branch switcher label to make label more consistent with
GitHub behaviour

Addresses #431
Merge pull request #432 from deringer/dev

Add handling to branch switcher label to make label more consistent with