Fix template.ref

R=arv, jmesserly
BUG=

Review URL: https://codereview.appspot.com/52350043