Fix creating /etc/profile.d/editor.sh

The not_if test is broken: we don't need the echo (which will exit with
0), but we need the exit value of grep.