After reading Python's doc


```
As initialized upon program startup, the first item of this list, path[0], is the directory containing the script that was used to invoke the Python interpreter. If the script directory is not available (e.g. if the interpreter is invoked interactively or if the script is read from standard input), path[0] is the empty string, which directs Python to search modules in the current directory first. Notice that the script directory is inserted before the entries inserted as a result of PYTHONPATH.
```

ISTM that the current directory is *always* set as sys.path[0]

So the question is: what really happens when you run your script and it cannot resolve the name ? can you check what's sys.path[0] in this case ?

I am worried that our change is not really doing the right thing.