fixed a crash when job runner directory doesn't exist