templates / branches--on commit lock_ref: inform callers of unavailable ref (f475e08)
   1: this is just to ensure the directory exists.