Avoid crashing if a directory has no pch files.

Should fix some of the bots that have assertions disabled.