skip using and import when looking for `@:noPackageRestrict`
revert python macro temp fix, use `@:noPackageRestrict` instead (closes #3321)