Add missing "os" import in shell.py
Add missing "os" import in shell.py

If pytz is not installed, the call to os.isatty raises an exception because os is never imported. This PR adds the os package to the imports.
adriank/ObjectPath,adriank/ObjectPath