I've also wasted some hours trying to work around this when it inflicted me, with no luck.
Until, finally, I tried merely restarting the machine and vóila! It was back...