Ignore dependencies if the number of dependencies is 0 (nanos_submit)
Currently, if the dependency array is not null, it will be used, even if the provided number of dependencies is 0.
Currently, if the dependency array is not null, it will be used, even if the provided number of dependencies is 0.