Fix check for non-empty strings

Fixes: https://bugzilla.gnome.org/727957
Prepare 3.10.4
Update NEWS