detect_well_known_errors - Better path calc for tpl file.
Cleanup for the exception handling in the dwke cache delete block.