Skip patching the registry if win32/registry cannot be required