catch NullPointerException when network information is not available

Catch NullPointerException when network information
for TYPE_MOBILE_MMS connection is not available.

Change-Id: I91e1835c7cc4b6ef770fe558a5f1ac1dabe97f41
Signed-off-by: Amit Pundir <amit.pundir@linaro.org>