It was a permission issue. To have deployment source attached to a BitBucket instance, you need admin rights on the repository.