Be able to deal with empty environ.

Otherwise hashing will fail.