fix Issue 13385 - ICE with new package(names) protection
Merge pull request #3909 from 9rnsr/fix13385

Issue 13385 - ICE with new package(names) protection
fix Issue 13323 - UDA applied to import statement causes compilation to fail without error