return the error when listing the packages is false

The false message will be written on the grid, and this will suppress error 
```
[2013-10-25 18:32:04] (ERROR @ /home/..../core/model/modx/processors/workspace/packages/rest/getlist.class.php : 48) PHP warning: Invalid argument supplied for foreach()
```