The get-cf-app-details.sh script currently uses V3 of the CF API to looks for - among other things - the buildpack being used by an app. V3 of the API will not return results for a buildpack if the app is deployed with explicitly declaring one, and the platform infers which one to use. V2 of the API, however, will return a value for detected_buildpack.