Fix search result paths if file is in "baseDir"
If the found file is in the root of the search folder, the path did not contain the trailing slash and thus did not get removed.
If the found file is in the root of the search folder, the path did not contain the trailing slash and thus did not get removed.