Changing isMachine() to support gethostname() with wildcard "host" value...

This is in reference to the discussions we have had in #1017.