Handle ValidationError in get_package_ratings_for_data_dict