properties: fix crash when entering an unsupported URI

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