Return 404 from branches API when repository does not exist
This was returning a 500, which incidentally increased memory usage. !62025 (merged) fixes the memory usage part, this fixes the API bug.
For #330729 (closed).
This was returning a 500, which incidentally increased memory usage. !62025 (merged) fixes the memory usage part, this fixes the API bug.
For #330729 (closed).