_get_package_name_from_tag: fix :awk bug

We use Ruby symbols :name, :version, :release as the first
argument when invoking the function. In the :awk implementation,
we forget this, by using "name", "version" and "release". This
will make the function not work anymore.

TODO: Should add tests in bash scripts