Repaired populate

Also added a functino to check for thre presence of appropriate
tarball(s).