Test suite: fix step that runs commands in GNOME Terminal, that was broken on Jessie when a Terminal is running already. Will-fix: #11176