RELEASED: Public: 2012-10-13
CloudBees Internal Ticket: RM-1473
When pushing validated changesets fails for any reason, the build should not be marked stable.
Return 401 not 404 if the user access repo.git without having a permission.
When the client is Git client, this makes them retry with the authentication header.