templates / branches--on commit commit-reach: fix memory and flag leaks (4067a64)
   1: this is just to ensure the directory exists.