Fix bug where incorrect error message was being printed when a metric value of None was received.
Fix bug where incorrect error message was being printed when
a metric value of None was received.

scalyr/scalyr-agent-2,scalyr/scalyr-agent-2,imron/scalyr-agent-2,scalyr/scalyr-agent-2,scalyr/scalyr-agent-2