[JENKINS-22622] Fix the incremental build resolution for changesets that span multiple modules.