Change TEMPLATE_* to TEMPLATES dictionary Closes-Bug: #1784979 Change-Id: I18408fd85ade854d03c99fa0a87cf926d369c93d