accounts-dialog: early return if gtk_tree_view_get_selection returns NULL