fix generator bug with no folder
Merge branch 'unit-test' of https://github.com/mazerte/generator-footguard into unit-test