Avoid exception in up-to-date check for non-existent source files and trigger rebuild instead.