fix BitbucketAdapter not working