Otherwise, undone HEAD wouldn't be exported if we tried to preserve the symbolic HEAD target (#2210). Unborn branch already has this problem.