Added 'cf api' to the before for the build-pack tests

[#79547372]