Ticket #24017 - Raise exception if token replacement values are not found.