grid: Fix OS detection

See merge request !192
15 jobs for master
in 0 seconds, using 0 compute credits, and was queued for 0 seconds