Fixed 'perms' command.

 perms now correctly adds default rôles to wild repositories.
Merged fixups in set-default-roles tool