fix crash when DESTDIR is specified but install not asked for
Merge pull request #526 from vrabaud/groovy-devel

fix crash when DESTDIR is specified but install not asked for