More robust handling of virtual files.

Don't crash the builder if a source file does not have a corresponding
Eclipse resource.

Fix #1002073