Applied patch from https://gist.github.com/sabre1041/9443277 to add git repo as source