Fixes case where env vars are ignored.