templates / branches--on commit pathspec: simpler logic to prefix original pathspec elements (5d8f084)
   1: this is just to ensure the directory exists.