Add repository info metadata. (Modified version of dsteinbrunner's patch)