A Common-Sense Guide to AI Engineering: variable not initialized in example (page 83)

In the example on page 83, the variable index_name has not been initialized when it is referenced in the if statement on line 7.