templates / branches--on commit real_path: do not assume '/' is the path seperator (d1c6925)
   1: this is just to ensure the directory exists.