Switch ant-path scheme from directoryScanner to workspace.list.

Previous code wasn't working for remote workspaces.