upgrade: explicitly test for revlog index
We do not want to exclude .d we want to only include .i. We are about to add
more extension type (for the persistent nodemap: .n, .nd) so lets make the
list explicit instead.
Differential Revision: https://phab.mercurial-scm.org/D9748