Issue #6612: Fix site and sysconfig to catch os.getcwd() error, eg. if the
current directory was deleted.
3 files changed