Removed unneeded checks

The call to _resolveModel will ensure that the cache variable always has an entry for the class