Thanks for reporting. I will ponder a fix.
Though since there can be different kernels like 64 bit available that is different from `uname -r`, I am not sure if there is a solution that is applicable when the extension being tested is for a different kernel than what is running. Since kernel module extensions are somewhat rare, I so far have just seen the error as a flag to manually examine the dep file.