Gracefully exit if required env var is not set