Fix the repo-type for fake repos
Fixes the add-permissions funtion to work with tags
Fixes many of the activation-keys tests
Merge pull request #973 from kbidarkar/fix-repotype-fake

Fix repotype fake