fix fmt/message detection to be nil/false friendly