Is there a reason you're using this variable syntax instead of the jinja syntax?  In general I think we should stick with the jinja double curly braces for variable referencing.