Disable tempdir use if petsc is being used