Based on that dump url, seems like your $map[‘location’] is false, therefore the ‘q’ parameter is not being added.
Also weird that your key is 0. How did you defined your MyKey
?
try do a var_dump($map)
and see if acf actually returns any value.
I just tried it too, the code seems to work for me.

Cheers