templates / branches--on commit attr: avoid strlen() on every match (cd6a0b2)
   1: this is just to ensure the directory exists.