Starting with glib 2.69 g_match_info_fetch() returns an empty string instead of NULL in case when no match was found. Properly handle this case. Signed-off-by: Artem Savkov <asavkov@redhat.com>