`find_default_host` actually doesn't return the default host if its explicitly set, so that's not an issue here. I think the issue is that code flow and method naming is non-obvious. `find_implicit_default_host_unless_default_is_explicitly_set` might be a better name. Or moving the `unless_default_is_explicitly_set` code up one level to this section so it can be combined with the `if name` conditional and then the `find_implicit_default_host` method that's left is only conceptually doing one thing might improve the code readability.