provision/juju: implemented the heal for bootstrap agent.
juju/provision: extracted the get bootstrap machine into a function.