8f42053b5f
Use an early return instead of a big if() block to cut down on indentation. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1932>