templates / branches--on commit ls-files: factor out tag calculation (a84f3e5)
   1: this is just to ensure the directory exists.