depot: prevent unbound variable error when using empty arrays
Previously to Bash 4.4, using ${container_args[@]}
was an error if
container_args
was an empty array.
With this fix we expand to the array elements only if the array is not empty. (Fixes: T23654)
/cc @smcv