Made pre_exec argument behave properly when nil

For tests, don't use a run directory that the exec host probably can't see