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.
Merge pull request #17 from carlosmn/open-bare

Repository: report isBare correctly on open