Bug 10507: improve warning about duplicate patron attribute value