Fix build_pack_path