Fix issue with wrong bitbucket api call with repo on different account

close #502
Fix specs for bitbucket repo api call changes
Merge pull request #506 from Gonzih/master

Fix issue with invalid repo user for api call to bitbucket.