Fix URL helper: default host condition inverted