Don't modify environment when getting variables from it.

I don't see any reason to pop the values from the environment, it's an unexpected side effect when importing.