Could not find headers building module aws

Hello,
today I changed from ubuntu xenial to debian stretch on the Intel NUC. And I was trying to build my module with build.sh. I get this error: (It was working fine before) anyone know why? Thanks

[main]     ./build.sh: line 64: /root/.local/bin/aws: No such file or directory
[main]     
[main]      ---> 456d8e255c11
[main]     Removing intermediate container 803c3d078a8b
[main]     Step 8/42 : RUN ./build.sh intel-nuc '2.29.2+rev2.prod' iTCO_module
[main]      ---> Running in 03d8f616b39d
[main]     Fetching list from servers
[main]     Unable to locate credentials. You can configure credentials by running "aws configure".
[main]     
[main]     Could not find headers for 'intel-nuc' at version '2.29.2+rev2.prod', run ./build.sh --list
[main]     
[main]     Removing intermediate container 03d8f616b39d
[main]     The command '/bin/sh -c ./build.sh intel-nuc '2.29.2+rev2.prod' iTCO_module' returned a non-zero code: 1
[Info]     Uploading images

Hi @rquant, what version of the kernel-module-build repo are you using? There were some fixes in v1.0.3 that might be relevant: https://github.com/balena-io-projects/kernel-module-build/commit/658fa65d552de9fabf1b9ccf37c0f68326e1b5a3

Hi,
I am using the newest build module.
I found it it runs with ubuntu:xenial, but not debian:jessie.