fix bug when project named: mediawiki

mediawiki.wiki.git
mediawiki.git

/.wiki$/ match awiki, so when your project named mediawiki
it will be find project named: "medi"

use /\.wiki$/ fix this bug
Merge pull request #4502 from wuwx/patch-1

fix bug when project named: mediawiki