nautilus-window: Check for valid location entry widget

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