It should not raise a `KeyError` if the suffix is invalid.

Fixed in 83e4e7b5419d806a21a997721ce25cbd7b9f448e.