virt: Add 'session' parameter to find_command function

Use 'session' parameter to get command path in other
machine(remote host or guest)

Signed-off-by: Li Yang <liyang.fnst@cn.fujitsu.com>