Modify BitbucketHandler to fetch when payload contains an empty commits
array
Fixes #623