// If the first dir in the search path is a non-system dir, zap it
// instead of the system one.
if (SearchList[FirstDir].getDirCharacteristic() == SrcMgr::C_User)
if (SearchList[FirstDir].getDirCharacteristic() == SrcMgr::C_User ||
CurEntry.getDirCharacteristic() == SrcMgr::C_ExternCSystem)
DirToRemove = FirstDir;
}