Tenant update on LDAP breaks if there is no update to apply

Fixes bug 1117362

Change-Id: Ia47f8a7cd38dcaaceafed39cbdd837ba9a67969f
Merge "Tenant update on LDAP breaks if there is no update to apply"