QmlPluginDump: Prevent crash if run without WM