adding the .length check for python-ldap pkg check