Merge branch 'stable-3.8'

* stable-3.8:
  Allow update head with Fetch replication global capability
  Revert "Reuse Gerrit code for head update"
  Fix pull-replication update head with Gerrit replica
  Ignore all broken tests on Gerrit replica
  Add indirect commons-lang3 dependency
  Do not provide response body when apply-object is successful
  Do not record fetch replication metrics when all refs are excluded from fetch task

Change-Id: Iedabde7fd87b686d79f98690fcf4860df5ddf4c0