If a cloned repo contains local modifications, the clone task will fail. This ensures any local modifications are discarded, ensuring a successful clone. Change-Id: Ic5799fe07e15739cc11acabba803e3be47606f94 Closes-Bug: #1506590