Fix the new -e handling. An empty cmd has to work for backwards compatibility.