Fixes #5769: don't allow multiple repository type at the same time
Merge pull request #557 from ncharles/bug_5769/dev/multiple_repo

Fixes #5769: don't allow multiple repository type at the same time