Fix check for `ENV`

`'undefined' !== ENV` is almost always true. Aside from being a typo, when `ENV` doesn't exist (eg. almost always when using Metamorph standalone) it would also die when trying to access `.DISABLE_RANGE_API`.