Next time you can download the needed files in another VM and copy it to the template safely:
About your issue, have you tried to run the original VM kernel instead of the Qubes provided one? You can select “provided by qube” in the settings advanced tab and see if it changes anything (reboot the VM when you save).