templates / branches--on commit get_ref_states: strdup entries and free util in stale list (92f676f)
   1: this is just to ensure the directory exists.