Change the extension detection to be a little bit more comprehensible

1 job for master in 1 minute and 43 seconds (queued for 2 seconds)
Status Job ID Name Coverage
  Build
passed #573691
rust-latest

00:01:43