Fix: Crash when entityName not implemented.

Fix for a minor bug when entityName is not implemented in
NSManagedObject subclass which was causing a crash for Attempt to
dereference an invalid ObjC Object.