I found some more information about the Tangier leg and a possible additional task from someone who apparently allowed part of the leg to be filmed at her location. This was posted just over 24 hours ago. There were two messages (translated from Italian):
Today could be the last day of shooting of The Amazing Race Morocco "from our terraces, two staff boys, especially appreciated the Italian cappuccino that I passed from our kitchen terrace. good day at alland a second message:
And voila , thanks to all of you friends, that we are sure you will be in this new adventure <3
Goodbye friends, with great pleasure once again we share with you an event that is being held today in our big house in Tangier, on our terraces will turn an episode of the famous The Amazing Race, the shooting of today will be a competition between athletes who they will launch with ropes from our terraces, which are the tallest, on other homes located in in Medina below us .... for over a month we are involved in this beautiful adventure, the movie troupe has arrived directly from Hollywood, supported by the film directors of our Studios in Ouarzazate located south of Morocco between the Sahara dunesIt sounds like the teams rappelled or climbed down ropes to the Medina, which is the labyrinth of alleyways, both commercial and residential inside the walls of a 15th-century Portuguese fortress.
Here's a picture that was posted that seems to be where the filming took place.