Avoiding Null pointer in hosttracker.
Better implementation needs to be added. Just avoiding nullpointer for now.

Change-Id: If3aabd11bb49b6fc49fc578f200c7a9c989d3aa3
Signed-off-by: Amit Mandke <ammandke@cisco.com>