protect message printout against null mr

Change-Id: I15e523f086f66ff15c0906a6ceef3f7b55ff1bc1
Signed-off-by: Eyal Salomon <esalomon@mellanox.com>