JENKINS-25353: Cleaned up index.lock file when checkout is aborted