Use env and not printenv to fix tests.