Fix crash on unexpected files in SAS cache