[hg] -Fix: use more backwards compatible hg log template to get branch name