Added support for bare repositories resolve ornicar/php-git-repo#16