gittree: fix get tag name when subversion larger then 9

Signed-off-by: Wei Yongjun <weiyj.lk@gmail.com>