should fix Azure Gallery release. Tightened up the variables and paths. (cherry picked from commit e0a38a4d9b)
e0a38a4d9b