Add a wrapper to wait for cloud init to be done after cloning.

This will help prevent races whereby we check ssh to be up, and then cloud init
brings it down (to e.g. refresh host keys), and then we die trying to ssh in.

Change-Id: I3d81e376635386c110792d9c09320ec19c45247d