Fix bug with generate_sourcedebs