Repository branch selection should trim whitespace

Hi Michal,

The branch name input is now trimmed in v1.9.2.1365