call normalizeEntityName hook before locals hook
Merge pull request #1717 from hlindset/fix-blueprint-name-errors

Normalize entity name before getting locals