resolver: Return early if URI is invalid
resolver: Return early if URI is invalid

https://bugzilla.gnome.org/show_bug.cgi?id=772989

endlessm/glib,endlessm/glib,endlessm/glib,endlessm/glib,endlessm/glib