Check that inputs.partial_infoplists is not empty
Check that inputs.partial_infoplists is not empty

Also change the style of checking for the rest of the inputs.

Amends regression introduced by
74e518ef6f6b89dd783ec8ffc8cf1d0c713cf14a .

Change-Id: Iddd9b4f1d1688f09e10add41a55e4b4ae6ca7bbc
Reviewed-by: Christian Kandeler <3aa99dcdd3f0cac61fb81c2a11771c0cc2497607@qt.io>

qtproject/qt-labs-qbs,qt-labs/qbs,qtproject/qt-labs-qbs,qtproject/qt-labs-qbs,qt-labs/qbs,qtproject/qt-labs-qbs,qt-labs/qbs,qt-labs/qbs,qt-labs/qbs,qt-labs/qbs,qt-labs/qbs,qtproject/qt-labs-qbs,qtproject/qt-labs-qbs,qtproject/qt-labs-qbs