SONAR-4433 Fix regression in dryRun