fix(preferences): fix typeerror when getting preferences
fix(preferences): fix typeerror when getting preferences

sentry 11852

mugurrus/superdesk,akintolga/superdesk-aap,plamut/superdesk,plamut/superdesk,verifiedpixel/superdesk,vied12/superdesk,hlmnrmr/superdesk,verifiedpixel/superdesk,pavlovicnemanja92/superdesk,petrjasek/superdesk-ntb,hlmnrmr/superdesk,petrjasek/superdesk-ntb,fritzSF/superdesk,gbbr/superdesk,marwoodandrew/superdesk,pavlovicnemanja92/superdesk,liveblog/superdesk,pavlovicnemanja/superdesk,mugurrus/superdesk,verifiedpixel/superdesk,ioanpocol/superdesk-ntb,amagdas/superdesk,akintolga/superdesk-aap,liveblog/superdesk,darconny/superdesk,mdhaman/superdesk-aap,mdhaman/superdesk-aap,sivakuna-aap/superdesk,sjunaid/superdesk,fritzSF/superdesk,petrjasek/superdesk,sivakuna-aap/superdesk,liveblog/superdesk,akintolga/superdesk,amagdas/superdesk,vied12/superdesk,sivakuna-aap/superdesk,ioanpocol/superdesk,superdesk/superdesk,marwoodandrew/superdesk-aap,gbbr/superdesk,mdhaman/superdesk,akintolga/superdesk-aap,petrjasek/superdesk-ntb,akintolga/superdesk,marwoodandrew/superdesk-aap,petrjasek/superdesk,Aca-jov/superdesk,superdesk/superdesk-ntb,darconny/superdesk,mdhaman/superdesk,sjunaid/superdesk,superdesk/superdesk-aap,akintolga/superdesk-aap,sivakuna-aap/superdesk,verifiedpixel/superdesk,marwoodandrew/superdesk-aap,plamut/superdesk,sivakuna-aap/superdesk,pavlovicnemanja/superdesk,petrjasek/superdesk,liveblog/superdesk,pavlovicnemanja92/superdesk,pavlovicnemanja92/superdesk,akintolga/superdesk,hlmnrmr/superdesk,marwoodandrew/superdesk,superdesk/superdesk-aap,sjunaid/superdesk,pavlovicnemanja/superdesk,amagdas/superdesk,superdesk/superdesk,plamut/superdesk,superdesk/superdesk-ntb,petrjasek/superdesk-ntb,ioanpocol/superdesk,ancafarcas/superdesk,thnkloud9/superdesk,akintolga/superdesk,ancafarcas/superdesk,vied12/superdesk,ancafarcas/superdesk,Aca-jov/superdesk,plamut/superdesk,superdesk/superdesk,fritzSF/superdesk,fritzSF/superdesk,Aca-jov/superdesk,verifiedpixel/superdesk,ioanpocol/superdesk-ntb,superdesk/superdesk-aap,superdesk/superdesk,amagdas/superdesk,petrjasek/superdesk,vied12/superdesk,akintolga/superdesk,thnkloud9/superdesk,thnkloud9/superdesk,amagdas/superdesk,superdesk/superdesk-aap,liveblog/superdesk,pavlovicnemanja/superdesk,mdhaman/superdesk,marwoodandrew/superdesk,mdhaman/superdesk-aap,superdesk/superdesk-ntb,darconny/superdesk,superdesk/superdesk-ntb,vied12/superdesk,marwoodandrew/superdesk-aap,fritzSF/superdesk,marwoodandrew/superdesk,ioanpocol/superdesk-ntb,mdhaman/superdesk-aap,mugurrus/superdesk,gbbr/superdesk,ioanpocol/superdesk,pavlovicnemanja92/superdesk,marwoodandrew/superdesk