Fix syslog env var check in run.