Fix ".git/modules' is outside repository" error message when inside git submodule
Merge pull request #8 from jmaurice/master

Use --show-toplevel instead of --git-dir to get correct repo path