audit: make audit_compare_dname_path use parent_len helper