scan_includes: join names properly and actually use conf.path