arangodb: fix branch for --HEAD

Closes #19015.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>