Fix for GROOVY-6495: Add quoting

This change fixes the issue for me.