fix host resource repr to use 'host' attribute

This change fixes an AttributeError raised when attempting to
represent a host resource as a string.

Change-Id: I33369b20ed7f5219c3b507107b8f3a37b46eacee
Closes-Bug: #1327005
Merge "fix host resource repr to use 'host' attribute"