fix overriding of default host if specified from cmdline

this is just setting the host correctly when it's specified from cmdline