Fix in EAD <repository> with no child, refs #6317