rev-parse: add --shared-index-path to get shared index path