Fix the generator not being able to find its templates.