fix endpoint for bitbucket