When a property applies to "package", treat it as a reference to
AadlPackage instead of NamedElement.  This is an update to the fix for
issue #241.