GROOVY-5898: fix for empty quotes