shell: Don't show a disconnected dialog while logging out

Fixes #719
Reviewed-by: Marius Vollmer <marius.vollmer@redhat.com>
Signed-Off-By: Marius Vollmer <marius.vollmer@redhat.com>
* Removed redundant check for null.