Fix a typing bug in Pingback.get_type()

Parameters are expected to be strings, but in doesn't do implicit type
casts, so we need to do it explicitly.