dnsproxy: Make sure we are not accessing null hash