Your limit is correct. The trouble is that is not the only way to approach $0^0$.
Consider $0^x$, $x>0$. Then the limit as $x$ approaches $0$ from above is equal to $0$. For the limit to exist, every pair of functions $f(x), g(x)$, with both functions approaching $0$ as $x \to 0$, must agree on $$\lim_{x \to 0} f(x)^{g(x)}$$
and these two examples show there are distinct pairs of functions which disagree on the limit.
(in this context, we might restrict to $f, g$ being nonnegative functions, but the same principle applies)