apt-repository: Make rebuild script only build versions that are not available yet.