Do not look in a dictionary when the key is null.