fix AttributeError if no AUTO_GENERATE_AVATAR_SIZES was specified at all