Fix wrong variable in a template

Change-Id: I9304777f832bafeb726e51b5e535d163dcd33204