Added new getProduct method and set product id in toVirtualMachine.