fix Issue 12158 - ICE with .init of nonexisting selective import
Merge pull request #3264 from 9rnsr/fix12158

[REG2.056] Issue 12158 - ICE with .init of nonexisting selective import