clone custom buildpacks outside of app dir

some buildpacks (e.g. php) move everything in the app dir elsewhere, and
blow up in weird ways

[finishes #43361489]