runners/katesessions: Fix crash if one has short query in single runner mode

Alexander Lohnau requested to merge work/alex/kate_crash into master

In this mode, we can search the runner without the trigger word, meaning we can not be sure about the length of the string and need a more reliable check.

Merge request reports