[build] fix Debian build not using python3

parent c7b10c61
Pipeline #3028 failed with stages
in 7 minutes and 25 seconds