Accessing a repository branch that does not exist returns a 404 error instead of 200 now. Added a test.