unrar 5.1.6

updated formula
test: fix bug, unpack() returns an array and not a string

Closes #30205.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Move head-only checks to cmd/install

Fixes #30084.
Closes #30203.
libotr: add 4.0.0 bottle.