lib/utils/downloadTemplateFromRepo.js/retrieveBitbucketServerInfo
function retrieveBitbucketServerInfo(url) {
  const versionInfoPath = `${url.protocol}//${url.hostname}/rest/api/1.0/application-properties`;

  return fetch(versionInfoPath)
    .then(resp => resp.json())
    .then(body => body.displayName === 'Bitbucket');
}