[Bugfix] Ensure error on invalid component entityName
Merge pull request #1204 from rondale-sc/fix_component_generator_entityname

[Bugfix] Ensure error on invalid component entityName