GX-1043: fixed issues with bitBucketCloneAll.rb