Etymologies can take funny turns. Whore and charity come from the same root. The idea that goats are capricious is just as likely to be used as evidence of the notion that the goat etymology is a folk etymology. If the experts aren't sure I'm not sure.