Safety check in `relationshipGeneratorPlugin`.

+ Simple check that `$va_items` is actually an array, before calling `array_keys()`.