shutils/tmpl_funcs.sh: make sure sourcepkg var is accesible in do_options().