Partially implement reading from packed bare repos.