Fix Imap factory breaks upgrades from 7.8 and earlier
Fix Imap factory breaks upgrades from 7.8 and earlier

samus-aran/SuiteCRM,pribeiro42/SuiteCRM,salesagility/SuiteCRM,gody01/SuiteCRM,horus68/SuiteCRM-Horus68,JimMackin/SuiteCRM,lionixevolve/SuiteCRM,salesagility/SuiteCRM,Dillon-Brown/SuiteCRM,Dillon-Brown/SuiteCRM,pribeiro42/SuiteCRM,samus-aran/SuiteCRM,JanSiero/SuiteCRM,Dillon-Brown/SuiteCRM,salesagility/SuiteCRM,JanSiero/SuiteCRM,JimMackin/SuiteCRM,gody01/SuiteCRM,lionixevolve/SuiteCRM,samus-aran/SuiteCRM,lionixevolve/LionixCRM,pribeiro42/SuiteCRM,lionixevolve/LionixCRM,gody01/SuiteCRM,lionixevolve/LionixCRM,horus68/SuiteCRM-Horus68,MikeyJC/SuiteCRM,samus-aran/SuiteCRM,MikeyJC/SuiteCRM,gody01/SuiteCRM,JimMackin/SuiteCRM,JanSiero/SuiteCRM,horus68/SuiteCRM-Horus68,lionixevolve/LionixCRM,JanSiero/SuiteCRM,horus68/SuiteCRM-Horus68,Dillon-Brown/SuiteCRM,MikeyJC/SuiteCRM,lionixevolve/SuiteCRM,lionixevolve/SuiteCRM,MikeyJC/SuiteCRM,JimMackin/SuiteCRM,lionixevolve/LionixCRM,lionixevolve/LionixCRM,salesagility/SuiteCRM,pribeiro42/SuiteCRM