Use empty header value unless it's defined

We don't check if the header option is actually split into two parts,
key and value. The value might be undef. This used to work when we used
smart matching, but with eq we have to check for this. Set the value to
the empty string, which is probably what the user intended.

Signed-off-by: Marcus Karlsson <mk@acc.umu.se>