installer: Make sure there is at least 1 target to be installed.

Ancient chroots did not provide a target list, this serves as a reminder.

Fixes #749 and #788.