minor fix in NodeGenerator .. he recognized invalid payload files but still tried to process them