Fix upload location for downstreams by parametrizing on osname
To know whether the artifacts should be uploaded as daily builds or test builds the pipeline checks the branch name.
However, it was still looking for an apertis/*
branch rather than an
$DOWNSTREAM_NAME/*
branch.
Fix that by relying on the $osname
variable.