git-backup: do not fail if folder ends with .git and is not a git repository
I there is a folder in git repositories which ends with .git
and which is not a git repository, git-backup will fail because it will try to use it as a git repository.
This patch which just check if it's really a git repo before continue inside.