Commit e023beb5 introduced a crash with an invalid access to os.environ, this fixes it.
mentioned in issue #400 (closed)