detect_well_known_errors - Better path calc for tpl file.