Return proper HTTP status codes for git ssh errors