Avoid empty unicorn/passenger apps list install dependencies

Both unicorn/passenger node elements are expected to be an array.

Instead of checking if the element is defined -- which is by default --
we check if the element has any value in it.

Thank you :heart: :heart: :heart: