Include the key name when failing on an invalid value.

Admittedly a really small tweak.