Fix regex index error in install script.

The regex matched was modified in adcb8b3f to remove a group and the
reference to that group was removed, but the second group's index wasn't
properly updated.
Merge pull request #76 from ewencp/fix-install-regex-index-error

Fix regex index error in install script.