```
mkdir ~/foobar-test
balooctl config add excludeFolders ~/foobar-test
rmdir ~/foobar-test
balooctl config remove excludeFolders ~/foobar-test
```
Without the patch, `balooctl` exits with an error, reports "Path does not exist", and does not remove the entry.
With the patch, `balooctl` exits cleanly with no error and removes the path
Works from the KCM, too.