Recently each time I have created a pull request in SourceTree the automatic URL generated for BitBucket has an extra / in it.

This is leading to 404s. If I remove the extra slash the pull request loads as expected.
What is causing this? I can't seem to find any settings that relate to this.