Fix symlink replacement of virt-builder directory (RHBZ#1943838).
Created as a split from libguestfs, see: https://bugzilla.redhat.com/show_bug.cgi?id=1942114