Fixes #3285: Migration script now unescapes LDAP stored variables when needed (removed useless if condition due to set -e script)