Add null checks so that Node.js will start with no custom environment variables set.
Cleanup