small fix for PBS workdir handling