imagefactory: Fix syntax error in previous commit