Fix parsing URI query
Fix parsing URI query

Do not depend on uninitialized "len" variable to set the query string.

https://bugzilla.redhat.com/show_bug.cgi?id=818169

SPICE/spice-gtk,mathslinux/spice-gtk,dezelin/spice-gtk,Fantu/spice-gtk,SPICE/spice-gtk,SPICE/spice-gtk,Fantu/spice-gtk,dezelin/spice-gtk,guodong/spice-gtk,freedesktop-unofficial-mirror/spice__spice-gtk,guodong/spice-gtk,dezelin/spice-gtk,guodong/spice-gtk,mathslinux/spice-gtk,fgouget/spice-gtk,freedesktop-unofficial-mirror/spice__spice-gtk,Fantu/spice-gtk,fgouget/spice-gtk,flexVDI/spice-gtk,elmarco/spice-gtk,Fantu/spice-gtk,freedesktop-unofficial-mirror/spice__spice-gtk,elmarco/spice-gtk,elmarco/spice-gtk,SPICE/spice-gtk,fgouget/spice-gtk,dezelin/spice-gtk,mathslinux/spice-gtk,mathslinux/spice-gtk,guodong/spice-gtk,elmarco/spice-gtk,flexVDI/spice-gtk,freedesktop-unofficial-mirror/spice__spice-gtk