make buildpacks only when needed

This patch just does not re-clone the buildpacks
when the script is running multiple times.

Change-Id: Ic5396890bb2269fb3206fe392aa73d9316676c9f