[Folder View] Assume root of a protocol is always a folder
Differential Revision: https://phabricator.kde.org/D18721