Simple utility function for reading the Node.js NODE_ENV.