fix for GRAILS-9723 "--nojars stopped working (jars are included)"