Fixes #6134 - Discovered hosts prefix can be configured

Leftover? I don't understand why this is here.