do not initialize sysroot to /
Setting sysroot to / is not the same as having no sysroot, because the sysroot is prepended to ALL config paths including relative ones:
$ cd /etc $ pacman --config=pacman.conf error: config file /pacman.conf could not be read: No such file or directory