Updating: improving the handling of packname for staloadloc