fixed an issue with broken template packs which broke all next template pack uploads