s/Daemom/Daemon/
Fix the bug that scanning fails if pathPrefix doesnt contain any leading directory components