(for PR #26626)

2025-02-10 15:04.39: New job: Lint
2025-02-10 15:04.39: Checking out commit f0506c75. To reproduce:
                       git clone --recursive "https://github.com/ocaml/opam-repository.git" && cd "opam-repository" && git fetch origin "refs/pull/26626/head" && git reset --hard f0506c75
2025-02-10 15:04.39: Exec: "cp" "-a" "--" "/var/lib/ocurrent/var/git/opam-repository.git-a0bc4b41ddb868605dc1500002c27cfa79faf4389fe53b6754817ea16b48d458/.git" 
                           "/tmp/git-checkout392af625"
2025-02-10 15:04.40: Exec: "git" "-C" "/tmp/git-checkout392af625" "submodule" 
                           "deinit" "--force" "--all"
2025-02-10 15:04.40: Exec: "git" "-C" "/tmp/git-checkout392af625" "reset" 
                           "--hard" "-q" "f0506c7525c71122bbde4b8548e98795d0ded492"
fatal: Unable to create '/tmp/git-checkout392af625/.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:04.40: Exec: "git" "-C" "/var/lib/ocurrent/var/git/opam-repository.git-a0bc4b41ddb868605dc1500002c27cfa79faf4389fe53b6754817ea16b48d458" 
                           "branch" "-f" "fetch-f0506c7525c71122bbde4b8548e98795d0ded492" 
                           "f0506c7525c71122bbde4b8548e98795d0ded492"
2025-02-10 15:04.42: Job failed: Command "git" "-C" "/tmp/git-checkout392af625" "reset" "--hard" "-q" 
"f0506c7525c71122bbde4b8548e98795d0ded492" exited with status 128