Fixes regression. .erb files not renamed during project generation.
Fixes NPE in Module project generation code.