Don't crash if we don't have a terminal
Subscribers: kfm-devel
Tags: Dolphin
Differential Revision: https://phabricator.kde.org/D24337