templates / branches--on commit truncate cwd string before printing error message (502ffe3)
   1: this is just to ensure the directory exists.