Edited function fix_etc_hosts

Added workaround for HPcloud slaves

Change-Id: Idedc2f8bb476418c17ef49201db5d07b6d8e5b1d
Closes-Bug: #1370674
Merge "Edited function fix_etc_hosts"