Fix startcli mode in the repo.