Add check of "buildpack" method

Since "buildpack" attribute is not part of v1 app, so here do a check