No, it's not. The point of the problem is that it's better to switch than not given the scenario presented. Whether he knows or not doesn't actually change anything, he does reveal a goat. Whether it was luck or deliberate makes no difference.
Whether you end up switching or not, the other opened door is 2/3 likely to contain the prize and the door you picked originally has a 1/3. Whether you switch or not, doesn't change the odds.