Sorry for the late reply, but if you look at the original article on GitHub I explore that scenario in the code. The answer is that if Monty randomly opens a door then the contestant automatically loses 1/3 of the time before given a chance to switch.