Empty script-args should not cause NPE fix #1059