Empty osascript output now returns null instead of parse error