data will always not be null because formatoutput at worst will return properties value. Properties is really what you'd need to check. In any case, what i actually meant was, you could probably just write this as if(data) { do whatever } as a defensive programming approach. That message shuold never appear and, even if it did, doesnt look very good as we're not getting / findings blobs. We are "downloading A blob".