Repository: report isBare correctly on open

When we init a repository, a constructor is called which receives the
'bare' param from the native method. This is not the case in the
"normal" constructor, which opens a repository and thus must ask whether
it is bare or not.

`mvn test` or `mvn install` just complain they can't find any of the project, so you don't get any tests for now.

BTW, it looks like your domain name is misspelt in the travis file.