templates / branches--on commit clear_packed_ref_cache(): don't protest if the lock is held (9051198)
   1: this is just to ensure the directory exists.