Fixbug

The first commit is for provisioning is interrupted just after git clone.

The second commit is for idempotent style really important ;)