Fix bug for gittemplate path