Fix for bug #22001, the execution of script changing the current working directory.
This is reported at http://gna.org/bugs/?22001.
The changing of the current working directory (CWD) was added to allow for nested scripting.
However this is no longer needed as the script import mechanism has changed from the exec() function
call to the runpy Python module.