Also reset the submodule when rollback the main module And ignore corrupt repo when updating submodule