upload: Check Flight.get() result properly before using it