Explicitly check for non-string types in get_info.