If the whistle went before the goal was scored, the VAR check can only have been for a penalty. Which it wasn't. This is 100% on Kevin Friend.
VAR is still obviously wank though, because if it doesn't allow THAT to be corrected, what's the point?
(There is no point. It's shit.)