1efd4a9
[init] Remove duplicated checks for comps Check once before iterating through the variants. This greatly simplifies the tests as each function now has one less code path. Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>