Fix traceback when $EDITOR is not valid
Merge branch 'master' of https://github.com/lyon667/pcs