Avoid info errors on deftype generated classes

Guard the call on the package name in utils.java.  It seems deftype classes
return nil for getPackage.