core: Removing not needed code

The following patch fixes redunant
host string calculation

Change-Id: Ia0270a2150e9d5e51745f027b4223f02ed11aece
Signed-off-by: Yair Zaslavsky <yzaslavs@redhat.com>