Fixed repo name for local repos

If you add a local repo (.git dir) then the repo name will be blank. This uses the parent folders name instead.