workflows: safer lookup of repository arguments

Signed-off-by: Jan Aage Lavik <jan.age.lavik@cern.ch>