glib2: remove needless check

rbg_scan_options() does it.