TRQ-1465. Multinode jobs when not running mpi or pbsdsh would get stuck
in a running state. This fixes that problem.