[sync_hosts/base] Ensure raised exception class is fully qualified