Handle access denied/invalid name to repositories. #3