Added confirmation for lakectl local commit when there was an interrupted action (#10439)