Fix crash when powers/powers.txt is empty