fix(api-redirect): update regex used for determining when to redirect

With the old redirect, repositories with "png" in the name got
redirected as well as images.
Merge pull request #261 from travis-ci/hh-update-image-regex

fix(api-redirect): update regex used for determining when to redirect