templates / branches--on commit read-tree: shadowed variable fix. (a91af79)
   1: this is just to ensure the directory exists.