Fix the bug TTS-1573
When no package is selected in plan, cleaning all selected packages.