fixed installing from a git repository (reused brunch/brunch#546)
Merge pull request #46 from iki/fix/install-from-a-git-repo

fix installing from a git repository