kvp.Value can be null

Especially if you have a bug in your calling code which specifies an invalid key