templates / branches--on commit worktree: don't segfault with an absolute pathspec without a work tree (b3100fd)
   1: this is just to ensure the directory exists.