Fixed a typo in a check_status_code invocation.

Small typo in cli.py was causing headnode_stop to throw an exception.