tests: fix duplicates on source install
config parser: fix missing exclude on host expansion

refs #3720