Nope, this actually was correct, need to fix the provider somewhere in the install function.
Check that virt_path is actually set.