Fix LVM snapshot syntax

When LVM snapshots are selected the vgname variable is overwritten to construct the LVM snapshot syntax. However, vgname is used later on when constructing the device path which causes an invalid path to be used.