Detects input relationships refering to missing nodes

and throws a more comprehendable exception
Clearer point where failures are logged in batch importer