Iteration over ENV (singleton of EnvHash Dict) returned a SubString
instead of a ByteString.  E.g. isequal(ENV,ENV) threw an error.

Now fixed.
Merge pull request #5580 from mauro3/ENVgetBug

Iteration over ENV returns wrong type