fix hostname property for non-cloud instances