Fix compatibility with pygit2 0.17.0

In pygit2 0.17.0 :

    repo = init_repository('path', False)

In pygit2 0.17.4 :

    repo = init_repository('path', bare=False)

So, for compatibility, keep the first syntax.