Support loading .gitbugtraq from a bare repository

The reference implementation should support loading `.gitbugtraq` from a bare repository instead of assuming the repository has a work tree.