Glad you're out of trouble. This is called the law of the desert/sand. Locals do respect it, they offer help and take the extra mile to get you off the hook. They do it well. Salute to all kind hearts.