Fix branch name encoding issue (use EncodingHelper)