Reset current branch on initError