main/aports-build: only upload .latest.txt if its generated

with v3.1 we no longer generate those