Fix NODE_ENV check. When not set, it is undefined, not ''.