Closes-Bug: #1353296
Excluded domain in the comparison of the hostnames where the VM is run

Change-Id: Id13f64567a489e6e1e9c4d030120c6bc0926c817