Update update_horde_package.pl

Make determine_basename use an argument instead of a global
Merge pull request #9 from ralflang/patch-3

thx