Fixes Issue 8922 - __traits(parent) should fail on top package import
Merge pull request #1455 from AndrejMitrovic/Fix8922

Issue 8922 - __traits(parent) should fail on top package import