Currently whenever GNOME becomes idle, it crashes. This adds some NULL pointer guards to avoid crashing. https://bugzilla.redhat.com/show_bug.cgi?id=2231680