HOTFIX: Catch exception with os.environ