Fix for [JENKINS-13758] include changed modules of failed builds in next run

Maven multi module build records all changed modules of itself combined with all previously changed modules (up to the last successful build). If a build is triggered (and the last build was not successful), this list is included in the list of the modules to build