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.
Merge pull request #162 from vuntz/fix-editor

https://github.com/crowbar/barclamp-provisioner/pull/162

Merged by devtool for cloudsleuth