should use $self->env() instead of $ENV{} in these places.
avoid accessing PERLBREW_LIB env var directly.
remove the dependency of List::Util
Merge remote-tracking branch 'upstream/develop' into develop