Allow CM_Model::_getSchema() to return null

Follow-up (refactoring) of #1164