I think it's better to do the filter here (`filter(None, [JAR_JVM_OPTS, "-Dstorm.jar=" + jarfile])`), rather than on the all_args list. 

Nothing else in `all_args` should be null; applying that filter to `all_args` would make it quietly proceed rather than break.