make cleanup-code.py more tolerant of missing exes