I had an error because initially my default contact container was Google Exchange. I did change to iCloud and this should have fixed the issue.
But it didn’t. I had to kill Pythonista and rerun my script to get my script run without arrow.
My guess is that Pythonista kept the reference to Google contacts in some way and did not take my change into account.
It is now working. Thanks for your reply.