Fix the check_repo to takes care of shadow RQ.