Minor update to environment variable check

The Express 3.0 to 4.0 mogration docs had a different way of accessing
the NODE_ENV environment variable. I switched to that just in case.