This behavior still exists. The error message on 2.1.x differs
$ juju debug-hooks <any charm>/0 ERROR no available address(es)
This behavior still exists. The error message on 2.1.x differs
$ juju debug-hooks <any charm>/0
ERROR no available address(es)