Fix local deployments

The workaround to get a public address does not work for local
deployments with LXC (the result is the address of the machine instead
of the address of the container) and is not necessary, so don't use it.