SPARK-1134 bug with ipython prevents non-interactive use with spark; only call ipython if no command line arguments were supplied