title: Some git repos don't work with yocto/bitbake
body: <p>Yocto gives an error when fetching :</p>
  
  <pre><code>ERROR: Function failed: Fetcher failure for URL: 'git://github.com/robclark/libdri2.git;protocol=http;branch=master'. Unable to fetch URL from any source.
  ERROR: Logfile of failure stored in: /home/pi20/poky/olimex/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/libdri2/1_1.0.0+gitAUTOINC+4f1eef3183-r0/temp/log.do_fetch.20462
  ERROR: Task 3562 (/home/user/poky/meta-sunxi/recipes-graphics/xorg-xserver/libdri2_git.bb, do_fetch) failed with exit code '1'
  ERROR: Fetcher failure: Fetch command failed with exit code 128, output:
  Cloning into bare repository '/home/user/poky/olimex/downloads/git2/github.com.ssvb.xf86-video-fbturbo.git'...
  error: RPC failed; result=22, HTTP code = 200
  fatal: The remote end hung up unexpectedly
  </code></pre>
  
  <p>The repo <code>git://github.com/robclark/libdri2.git;protocol=http;branch=master</code> works well when not used with yocto.
  It's maybe <a href="https://lists.yoctoproject.org/pipermail/yocto/2014-July/020450.html" rel="nofollow">this bug</a>, so I have tried to apply <a href="https://lists.yoctoproject.org/pipermail/yocto/2014-July/020451.html" rel="nofollow">the patch</a> by modifying by hand <code>bitbake/lib/bb/fetch2/git.py b/bitbake/lib/bb/fetch2/git.py</code>, but it doesn't change anything.</p>