Change is.null() check to length == 0 check

2 jobs for develop-s2dv_cube_missing_lonlat_bugfix
in 16 minutes and 21 seconds, using 0 compute credits, and was queued for 3 seconds