analyze-migration.py: fix find() type error