One month after posting this we had time to investigate and we found the issue that caused the behavior. Indeed there was something wrong with the quotes:
The first one is faulty, the second line works. The syntax highlighting should have been a clue.
Omitting the quotes all together also works.