Don't null pointer exception on a log line if a gauge has a null value