build: fix scoping rules for artifactory_password usage