init: correct re-initialization from a linked worktree