BZ1112623: Project Explorer navigation broken when a package is missing under src/main/java/

(cherry picked from commit e141356494f1201257cc0de2a9a84725a0d15da2)