[U-Boot] [PATCH] test/py: fix NameError exception if bdi cmd is not supported