增加对未登记的repo的拒绝处理

Signed-off-by: Harry Chen <373685963@qq.com>