handle git mirror directory layout in repo description API

@dlindquist Would greatly appreciate a code review from you on this.