Fix handling of local scratch dir for multicore jobs