If the package list is empty just exit successfully. Change-Id: I1ab896cd99730ab9246cf14e440c25cfd6280df0