fix entity class generation for fresh, non dev-mode projects