Fix bitbucket isCommitsView and isPullRequestView
Created by: lguychard
It's quite common for Atlassian applications to be deployed with a context path (https://confluence.atlassian.com/kb/set-a-context-path-for-atlassian-applications-836601189.html) - the URL of the bitbucket instance then becomes https://altassian.company.org/<contextpath>
, and the pathname of a PR view doesn't start with /projects
, which both of these functions previously assumed.