removed redundant try/expect in cli.py