PM-731 the local path to the credential is only computed once, instead
of per job in worst case.