[#2338] Save the index path in the indexer object

Store the path prefix which is passed to git_indexer_new() in the newly
created indexer instance. That way, we don't need to rely on the value
of git_pack_file.pack_name in git_indexer_commit() and can use the path
directly.