[PATCH] avoid traceback when cli fails to parse task parameters