Fixes #7372 - Smart proxy return 400 when DNS entry not found

If DNS entry is not found, return 404
Yes, it shouldn't return a "404 not found" if there is a general error retrieving stuff from libvirt, or it'll obscure a real bug.