[BuildGetter] Fix missing variable error