utils_test.libvirt: Check gluster command before use it

1. Check if 'gluster' command exist on the host
2. Remove an unused variable

Signed-off-by: Yanbing Du <ydu@redhat.com>
Merge pull request #1874 from will-Do/check_gluster

utils_test.libvirt: Check gluster command before use it