The only caller is `ipfs init`, which at that time does not hold a repository open, and refuses to run on existing repos anyway.