Make init.templatedir work
Check error value from git_futils_find_template_dir
Merge pull request #1859 from linquize/init.templatedir

Make init.templatedir work