Cli: Fix black/whitelist remove command

refs #7526
Cli: Fix confusing error messages in repository <type> add

fixes #7530