It is simply a matter of the definition of the square root function. Functions of real numbers are always defined so that f(x) has one value for a given x. That is the part of the definition of "function itself". And because of that is defined as "the positive number, x, such that .
Yes, if you are claiming that you are definitely in error. and , not -2.