templates / branches--on commit refs: add expand_ref() (41da711)
   1: this is just to ensure the directory exists.