For non scheduled builds, those env variables are just left empty. This is much neater than using the "versions" file, and uses much fewer lines of code. We still probably want to bundle a file labelling what versions it contains in the built packages though; give that file a .txt suffix.