Clean repo if sync fails