Fixed repo index write issue
TestWritePackages_MultiplePackages