Fixed: failed to check gnome-session when its name is `default`