repo: add tests for bare repo permissions Ensure that we test opening a bare repository with odd permissions.