Fix reporting of ClassNotFoundExceptions when processing project.imports