Don't do any fancy upcase/downcase conversion of the line name, just take it straight from the configuration.