[OWL-845][query] set if len(ip) > 0 && ip == getIPFromHostname(hostname, result)
[OWL-845][query] set if len(ip) > 0 && ip == getIPFromHostname(hostname, result)

Cepave/open-falcon-backend,Cepave/open-falcon-backend,masato25/open-falcon-backend,masato25/open-falcon-backend,Cepave/open-falcon-backend,masato25/open-falcon-backend,Cepave/open-falcon-backend,masato25/open-falcon-backend,Cepave/open-falcon-backend,masato25/open-falcon-backend,Cepave/open-falcon-backend,masato25/open-falcon-backend