Don't mock out the environment, it's unnecessary.

All we're doing here is replacing os.environ with a dict with the same
contents. We shouldn't be mutating the environment in the first place,
and we aren't.