restapi: A check for possible NPE BackendVmsResource:remove method

A check for possible NPE BackendVmsResource:remove method.

Change-Id: Idbf51b03bb170b34e1b6bba3d37e62c967fdd5d6
Signed-off-by: Asaf Shakarchi <asaf@redhat.com>