Added check to ensure that no node with same working directory is
launched on a target host. (cleaned for pull request)