Fix processDiagnosticMessages script issue in master with a 1.4 merge