bug #3334: fix bug searching for templates in vcenter