Fix undeclared variable in auto_identify script.