Fix setup certs ezboot1

This is for ezboot1

Fixes a traceback when flash_device_id is not defined.