Avoid to install a blank list of packages

There are some situations where the list of packages to install
in a image is blank (packages blacklisted).

Change-Id: I315f97fe619c25b36cf47ed1b7a65936b753312e
Merge "Avoid to install a blank list of packages"