rethinkdb: fix the installation path

Some lines in the previous rethinkdb pull request were re-ordered, but
one of the essential lines was removed.

Closes #17486.

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