tirex: fix get_handle error

Signed-off-by: Hiroshi Miura <miurahr@linux.com>