[google|compute] disk model: get_object fix for Ruby 1.8

Fix for Ruby 1.8. The .select{} returns an array in Ruby 1.8 instead of a Hash.