added test cases for myrepo.cli.{_assert_no_arg,_assert_arg,_to_cmd}, and fixed issues found by them