Fixed NPE in directory watcher when using default widgetset