Optimize the getWorkSpace. Only go hunting for directories if we know we
need a new workspace