templates / branches--on commit update_refs(): fix constness (595deb8)
   1: this is just to ensure the directory exists.