Make environment lookup deterministic.