docker.host: Move Ubuntu os check.