It doesn't work that way. The basket is legitimate even though the passer is not determined. We will eventually look into the problem, but it will never affect the result of the game.
Might it be related to the "assist from the guy on the bench" issue and it just happened to pick the lucky fan?