Fixed the check for fqdn. It was inverted, and hence will fail on some
hosts