bug #2280: Fixed sed -E --> sed -e for ESX

Also, some single quotes problem over ssh