Fixed winreg

On XBMC4XBOX there is os.name = "nt" but there is no winreg