Be resilient to diagnostic keys not being found in the loc proj.