Prevent chown error in slurmctld if in foreground with no log file