Fix a bug in the ag agent when trying to convert a drives while the VM is not defined or does not have any drives attached.