As reported by Imarok and fatherbushido, when adding and removing a buddy (Refs D209 / rP19433) so that the buddy list is empty,the code saves an empty string to the user config, which the config system is not happy about. Having empty strings is also an issue with the playername and in theory it might considered desirable to save an empty string #3990.
Imarok proposed to use JSON instead of CSV, but I prefered to have something that is as easy as possible for the user to read in case he opens the config file with a text editor.
The placeholder for the empty string is the delimiter comma which is already in use as an empty string workaround in default.cfg, so this patch is only completing a forgotton case in D209 (not adding a brand new workaround).