Update Get_vm_info.rb

deal with local file