[SoftwareUpdate] fix E2 log pruning.