Python 2.6 compatibility.

subprocess.check_output doesn't exist in 2.6 and we're using that to
check the git remote url. Use subprocess.Popen instead.