Fixed a typo that was preventing function create-template from working correctly.