UDLdap.py: more useful exception if our array assumptions are violated