Fix wait_for_tarball 'None' error

Due to delays in the prerelease queue, wait_for_tarball would sometimes
shortcircuit and return 'None' jobs, or timeout completely. This fixes
both issues.

Change-Id: Iac054a2b22d8db1cf0d543c8ac0fdf432ea08490