prov/psm: bug fix: rma segfault when mr is invalid