fix reading repos from bitbucket, the perl ua not work when api url changed