Fix image type for Groovy.