I use a comparator of the instance of `EnvVar` to override to.
This is a preparation for [JENKINS-16255](https://issues.jenkins-ci.org/browse/JENKINS-16255), #985.