templates / branches--on commit resolve_ref_unsafe(): close race condition reading loose refs (fcb7c76)
   1: this is just to ensure the directory exists.