CLN: fix grammar in extract_index error message
TST: update test to reflect error message change
Merge pull request #3972 from cpcloud/fix-error-msg

CLN: fix grammar in extract_index error message