lib/ui.py: fix the firmware detail command

Signed-off-by: Dong Zhu <donzhu@cisco.com>