emit a repositoryDeactivated signal when switching the active repository
corrected call order of de-/activated signals in RepoMan