Fix bug DNN-3683: add the optional packages which are old version into cleanup list.