Fixing __import__ method behavior to respect importlib method behavior
Merge pull request #8482 from outini/develop

Fixing __import__ method behavior to respect importlib method behavior