install-eg.sh: fix incorrect test for whether files exist