templates / branches--on commit get_packed_ref_cache(): assume "packed-refs" won't change while locked (28ed983)
   1: this is just to ensure the directory exists.