AVRO-86. Java: Fix NullPointerException when reflect API infers schema for a class without a package.