Actually put the preferred uri to use.

Fixes #76