Fixing __import__ method behavior to respect importlib method behavior