Backporting multiple-scms-plugin #1231be7 to solve testChangelogInMultiSCM failures.