templates / branches--on commit cherry-pick: make sure all input objects are commits (21246db)
   1: this is just to ensure the directory exists.