server.py: Do not execute if cmd is None in _run_one