refactor SetEnabledRepos() and added it to session api
Use only local test repo for unit tests