Don't send an empty protocol to findProtocol()
New unittest
I'll change https://phabricator.kde.org/D11067.