fixed NPE occurred when schema is missing

Fixes a null pointer exception for cascaded GFI requests, that occurs when schema is missing in original output.