Respond with HTTP 404 when the repo is not registered

Respond with HTTP 404 when the repo is not registered