adapt unittest config script for jenkins matrix tests
fix quoting when setting libvirt type