Fix NPE for MSim

Change-Id: I4ea94f8261b028368cddc444e6417a8cdf533b2e
Signed-off-by: Lokesh Chamane <lokesh.c703@gmail.com>