Fix NPE in reflection desire for default-package classes

Hacky fix, need a better fix.