If we invoke the getPM RPC with as input parameter the node-id of a non-mounted device, the current implementation generates a NPE.
Moreover, there is no error message nor rpc result to help user to understand where the issue comes from.
1) Secure the RPC input parameters
2) return a RPC failed result instead of returning a RPC success