How should pytest import-mode=importlib handle modules already in sys.modules?