worker: fix using Bitbucket repo IDs instead of SG repo IDs
Created by: sashaostrikov
This fixes usages of wrong IDs (Bitbucket repo ID vs. Sourcegraph repo ID) during Bitbucket Project repos sync
Test plan
Unit tests updated, ran tests on local SG instance with bitbucket.sgdev.org as a code host