Only skip value decoding if actually null

This would only be an issue if user requested a buffer and value was an
empty string.