chomp the branch name so we do not get a stray carriage-return