fix NPE in case of logging from the SingleInstanceManager when 'single instance' mode is on