revert redundant host checks in ApResolver

Commit 373eca7a19 pushed by yumedevelop
Workflow lint.yml