git: Return 404 if access to non-exist repo.

Previously, it returns 500.
code: Add link to user page on author's picture.
milestone: Remove unused importings.