Fix for @Entity without name.

Turns out @Entity.name() defaults to "" instead of null, fixed the
comparison.