Don't dispatch NDEF message if it's null

Change-Id: I2faea574059741c4adc2614f14f3d5b537560a99