feature #3327: make vcenter recursive search compatible with ruby 1.8.7