CLDIDE-2080; better messages when invalid commitId or branch name;