templates / branches--on commit real_path(): properly handle nonexistent top-level paths (f4c21e8)
   1: this is just to ensure the directory exists.