Prevents `jj edit root` from succeeding, which would otherwise place the repo in a state where every operation panics.