[hg] -Fix: older hg versions' 'hg log' report empty branch name if default, handle this case