fix absolute path directory scanning used by Watcher