Prevent reference to AR package unless import is observable in sys.modules