Make bridge_factory return appopriate bridge for DM-only runs