fix for GRAILS-9915 "getting exception " java.lang.NullPointerException: Cannot get property 'allArtifactsReports' on null object" downloading source"