fixes 6422 - validate repoid (and pick a valid one) on cv publish
Merge pull request #4361 from jlsherrill/6422-module_repo

fixes 6422 - validate repoid (and pick a valid one) on cv publish