As the variable `$package` is used to get the dependencies, I thought it would be better to pass it directly instead an array.