Using NOT_FOUND only if repository is not found
This is stacked on !14 (merged)
The NOT_FOUND error is remapped as NoRepository
in the Rails app. Extract from lib/gitlab/git/wraps_gitaly_errors.rb
:
rescue GRPC::NotFound => e
raise Gitlab::Git::Repository::NoRepository.new(e)