Fixed exception thrown if registry key doesn't exist on wine- move fix to winereg later.