fixes #7074 - allow registrations even when there is no host
Merge pull request #4578 from jlsherrill/7074

fixes #7074 - allow registrations even when there is no host