Modify repository name regex to match index
Merge pull request #1949 from dotcloud/1895-registry-regex

Modify repository name regex to match index