#000 - Fix null check in HostNameValidator.

Was showing up as a 500 Internal Server error when you clicked 'Send Test Email'
in Server Configuration page, without entering any hostname.
Merge pull request #605 from arvindsv/fix_empty_hostname_validation

#000 - Fix null check in HostNameValidator.