Fix Model.host check.