Bug fix for install script

This fixes a simple but frustrating bug that prevents the install script from detecting broken symlinks that otherwise would break the installer.