The error message is a recent addition in eos-update. It includes also other validity checks for /etc/pacman.conf.
eos-update
/etc/pacman.conf