templates / branches--on commit Don't dereference a strdup-returned NULL (aa32eed)
   1: this is just to ensure the directory exists.