properly return a value from non-void function
Fix introspection build

taken from this commit:
https://git.gnome.org/browse/evince/commit?id=1915baa92e72242450b6042603ad0e20de072c17
epub backend: don't call g_list_foreach on empty list