completion: ensure that the repository path given on the command line exists