Fixed bug if class is required in Schema config but doesn't exist in
current setup.