Delete the local scratch directory if it exists (should not with the
auto-generated job name, but it might be there if the user specifies the
name manually).