templates / branches--on commit list-objects-filter-options: move error check up (f56f764)
   1: this is just to ensure the directory exists.