Lock around ubuntu tarball download

Make this safe for parallel builds

Change-Id: I578fa38e1d44bc205b70d087d161b471cd260fa1
Merge "Lock around ubuntu tarball download"