Fixes the failure in: https://jenkins-lhcb-nightlies.web.cern.ch/job/core-soft-tasks/job/lbenv-deployment/434/console