Added fix for EUCA-4329

This is a fix for getting the instance metadata service attributes hostname and local-hostname to match.  This issue causes AWS metadata service testing in instances to fail when looking to match hostname of the metadata service to the hostname of the instance.