ensure packages expetcs an array
ensure packages expetcs doesn't work with undef
Merge pull request #41 from NITEMAN/ensure_packages_array

Ensure packages expects an array and doesn't work with undef