Mms: fix NPE

Change-Id: Ib8a828fb2ce4a8951258511233f88ffe7725b21b