I have come across the following proposition (4.2.4 in Springer Linear algebraic groups, 1st ed.).
Proposition. Let $\phi \colon X \to Y$ be a dominant morphism of irreducible affine varieties. Let $x \in X$ be such that its fibre $\phi^{-1} (\phi (x))$ is finite. There is an affine open neighborhood $U$ of $\phi (x)$ in $Y$ such that $\phi^{-1} (U)$ is an affine open neighborhood of $x$ and that the restriction morphism $\phi^{-1} (U) \to U$ is finite.
I don't understand the proof, so I tried to see where the hypotheses are used in the following simple example.
Consider $\mathbb A^1 \times \mathbb A^1 \to \mathbb A^1$ sending $(x, y) \mapsto xy$. Now let $\Gamma = \{ (x, y, xy) \}$ be its graph and project the graph to the second two factors, leaving $\Gamma' = \{ (y, xy) \}$. Everything mentioned so far has been irreducible. Now consider the map $\phi \colon \Gamma' \to \mathbb A^1$ projecting to the first factor in the above lemma. The fibre over $y = 0$ is $(0, 0)$. The fibre over $y \neq 0$ is $\{ (y, xy) \vert x \in \mathbb A^1 \} \simeq \mathbb A^1$. However, an affine neighbourhood of the point $(0, 0)$ lifts to $\Gamma'$, but doesn't ever seem to be finite.
Still, this map seems to satisfy all the hypotheses of the above proposition. Is this a counterexample, or have I made a mistake somewhere?