scripts: fix executable name when packer dir is a symlink