Check message queue is type of mapping

Before making get operation to message_queue variable ensure it has
mapping/dict type since it could be reset to None on cluster level.

Change-Id: I47ce1fa58fc26b74ecdd8546e90550bdcd1f454f
1 file changed