Fix typo in getTemplate.
Merge pull request #495 from mmb/template_typo

Fix typo in getTemplate.