templates / branches--on commit upload-pack: fix broken if/else chain in config callback (aaaa881)
   1: this is just to ensure the directory exists.