Check repository permission for clone URL