Change to allow the dot (.) character in branch name.

Please review and merge this.