generic.tests: Let lvm get disk names from command

Update the script to get disk names from command instead of the
cfg files. So we don't need to update it when the prefix of
disks changed.