[libvirt PATCH 3/4] tests: Move fakerootdir handling to common logic