"Wrong type argument" with Update Package Index