fix a "Variable declared in conditional statement" error

Found problem after running
perlcritic -s Variables::ProhibitConditionalDeclarations
rebuild Image/Info.pm after typo fixes