Since quotes are not a token for Python's shell simulation (unlike Bash), raise a RuntimeError for them and add an exception for Python command since it quotes to define a program on commandline. Signed-off-by: Rishabh Dave <ridave@redhat.com>