Use Title provided by context in MakeGlobalVariablesScript hook

This should avoid a globaltitlefail

Bug: T78417
Change-Id: I64d91116e405b248cfefdea80f922bc113bbb713
Merge "Use Title provided by context in MakeGlobalVariablesScript hook"