windows: Fix a bug in Registry class
Make sure the guestfs handler is never cached in registry class. There are cases where the guestfs handler is recreated in image class. The registry code should always access the guestfs handler from the image class and never from a local copy.
Showing with 11 additions and 7 deletions