Only create buildpack sandbox if necessary.