Update update_horde_package.pl

Make determine_basename use an argument instead of a global