(PDB-1034) Fix logic for ezbake_local_cmd

Signed-off-by: Ken Barber <ken@bob.sh>