Abort if checkout fails due to modified files.