templates / branches--on commit refs: allow for_each_replace_ref to handle arbitrary repositories (0d296c5)
   1: this is just to ensure the directory exists.