Map exclude/include properly to repo lines.