You misunderstood what I meant.
I admit it is my fault, I did not say it well.
So let's rephrase the thing:
Morocco (and desert location) is far more isolated than a set place next to Pragues, capital of Czech.
That's why the studio never thought of going there because it implies residence on set to not consume a travel time and the crew (actors, producers, whatever) are sometimes upset to not have a decent location for the set.