templates / branches--on commit refs: add repository argument to for_each_replace_ref (60ce76d)
   1: this is just to ensure the directory exists.