minor: Fix warning in AvatarFactoryModule