avoid exception: skip parse of nil data

If there is no network then a call to `-[UPPlatform validateSessionWithCompletion]` eventually results in an exception when it tries to parse JSON from a nil value.