emodel: Fixed missing return value.