[1.7.x] Fixed #22708: Typo in autodetector base dependency gen