setlocalversion: Use "grep -q" instead of piping output to "read dummy"