fix escaping of 'command ps' in installer for rvm.sh, fix #2962