(for PR #26297)

2025-02-10 15:07.02: New job: Lint
2025-02-10 15:07.02: Checking out commit 7fa32b5d. To reproduce:
                       git clone --recursive "https://github.com/ocaml/opam-repository.git" && cd "opam-repository" && git fetch origin "refs/pull/26297/head" && git reset --hard 7fa32b5d
2025-02-10 15:07.02: Exec: "cp" "-a" "--" "/var/lib/ocurrent/var/git/opam-repository.git-a0bc4b41ddb868605dc1500002c27cfa79faf4389fe53b6754817ea16b48d458/.git" 
                           "/tmp/git-checkout32e5b5b4"
2025-02-10 15:07.03: Exec: "git" "-C" "/tmp/git-checkout32e5b5b4" "submodule" 
                           "deinit" "--force" "--all"
2025-02-10 15:07.03: Exec: "git" "-C" "/tmp/git-checkout32e5b5b4" "reset" 
                           "--hard" "-q" "7fa32b5dcf9663e846999341824f276a36349421"
fatal: Unable to create '/tmp/git-checkout32e5b5b4/.git/index.lock': File exists.

Another git process seems to be running in this repository, e.g.
an editor opened by 'git commit'. Please make sure all processes
are terminated then try again. If it still fails, a git process
may have crashed in this repository earlier:
remove the file manually to continue.
2025-02-10 15:07.03: Exec: "git" "-C" "/var/lib/ocurrent/var/git/opam-repository.git-a0bc4b41ddb868605dc1500002c27cfa79faf4389fe53b6754817ea16b48d458" 
                           "branch" "-f" "fetch-7fa32b5dcf9663e846999341824f276a36349421" 
                           "7fa32b5dcf9663e846999341824f276a36349421"
2025-02-10 15:07.04: Job failed: Command "git" "-C" "/tmp/git-checkout32e5b5b4" "reset" "--hard" "-q" 
"7fa32b5dcf9663e846999341824f276a36349421" exited with status 128