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

Change-Id: I854f1c8e87706ad32e8805cf5b097ae0a786c303