Fix broken badge uploads