[WIN32] fixed trailing space at the end of the branch name (I will do more tests...I will do more tests...I will do more tests...)