If `Win32::EventLog.open` raises, eventlog will be nil.  There should be a check for that here.