Tests/RunCMake/Ninja: fix subdir prefix check If the output path prefix is empty, the directory is going to exist.