Fix EZP-23499: Fatal error removing class with unexistant datatype.

JIRA: https://jira.ez.no/browse/EZP-23499

This prevents a PHP fatal error when removing a class (contentType) if a datatype has been removed.
Instead, it is logged to error.log

s/non-existant/non-existent