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