templates / branches--on commit real_path: have callers use real_pathdup and strbuf_realpath (4ac9006)
   1: this is just to ensure the directory exists.