Added wildcard to hostname comparison.