fix error when dept not present

When a person isn't in a department, Drupal barfs:

`Warning: Invalid argument supplied for foreach() in islandora_entities_preprocess_islandora_person() (line 49 of /var/www/drupal/htdocs/sites/all/modules/islandora_solution_pack_entities/theme/theme.inc).`