GROOVY-6641: ensure protocol does not show up in generated script class name