Fix download from custom repository