Fixes #5705: Update the OpenLDAP BDB migration postinst script to work properly again