build: Fix the caching mechanisms

The debootstrap tarball and the rootfs image caching
routines weren't functioning right and would cause
multiple debootstrap invocations, as well as causing
a total overwrite of the rootfs.img.

Change-Id: Ib55e2df1c5b113ef20d2a26817dbd548752b7faf
2 files changed