Merge pull request #2884 from libgit2/cmn/template-path repository: parse init.templatedir as a path