https://bugzilla.gnome.org/show_bug.cgi?id=639971 Also, avoid a segfault when no valid session is found.