Tighten sanity check.

Check for the same file appearing as different artifacts in a child
list. See QBS-491 for an example.

Change-Id: Ie93268c05386ccfae2a57097a19e5ec7d135902a
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>