solving null pointer exception for cross-schema FK dump, with not all schema's mentioned