Tests/RunCMake/Ninja: fix subdir prefix check

If the output path prefix is empty, the directory is going to exist.
1 file changed