bug #3334: skip non defined objects when searching for vcenter templates

Some objects returned by childEntity can be already deletend when they are accessed.
This patch skips these objects.