small patch to avoid warnings while puppet apply

Hi,
i have done a small patch to avoid warnings while puppet apply and access global variables.

Warnins like:
Warning: Variable access via 'location' is deprecated. Use '@location' instead. template[/tmp/buildmgmt/229/puppet/modules/apt/templates/source.list.erb]:2

Greetings
Sascha