templates / branches--on commit for-each-ref: Do not lookup objects when they will not be used (b7dd2d2)
   1: this is just to ensure the directory exists.