Escape DKMS variables in installation script

Otherwise these will get expanded based on values from the installer
ISO and not from the chroot'ed system.