generate-configuration: merge directory sections w. the same path