Config null check

When config values are null or undefined (which I realize will cause connection issues), the `ENV` property check throws an error.  Adding a truthy check for the property to harden it slightly and avoid an error from being thrown from somewhere that might not be obvious for users.