Fix message if a pattern has not been found.