python/remove_dc: handle dnsNode objects without dnsRecord attribute