Changed assert to first check if dotlock had been overridden, and if so log an error instead of crashing.
Changed assert to first check if dotlock had been overridden, and if so log
an error instead of crashing.

damoxc/dovecot,damoxc/dovecot,damoxc/dovecot,damoxc/dovecot,damoxc/dovecot