This corrects an oversight introduced in commit 352f4ff9 (resolv: Introduce struct resolv_context). (cherry picked from commit 30161498)