Change rpc handling in rt module to handle badrpc returns

Change how the return from some rpc calls is handled in the rt module in order
to avoid spurious or misleading test failures.