023b50e7a7
Not doing this will throw a backtrace when running on headless mode and trying to show a notification, due to Main.layoutManager.primaryMonitor being undefined, so it's better to return early. https://bugzilla.gnome.org/show_bug.cgi?id=730551