Fix multi install juju deploy logic

This is basically a partial revert of a77327449fe25b2320a372e5a1948d95fcdbcbd9.