Fix incorrect behaviour in YAML config loading

Files specified in YAML are set and not appended.