Don't try to open a selection if we don't have one.

Fixes a crash when the user invokes the open item (ctrl+alt+o) shortcut
with no selection.

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