Handle dependencies on empty sub-projects (classes directory may not exist)