fix for GRAILS-8189 "Geb functional tests pass every time when grails.project.work.dir is empty"