feat(env): use env variable instead of presence

pm2 doesn't seem to clear env variables (related to api-spec changes)