exporter: Don't call g_list_length() on NULL

1 job for move-g-info-stmt in 2 minutes and 20 seconds (queued for 2 seconds)
Status Job ID Name Coverage
  Test
passed #595533
build-fedora

00:02:20