Fix typo in dict_addattr error messages