Fixes #4680 - Don't append periods to unqualified unmanaged hosts