Fix ldap_get_param when value doesn't exist