fixed warning when importing resources

Parsed config may contain php arrays (in addition to ParseConfig and string values). This causes warning when trying to find placeholder (like "%res") in php array instead of string.

This pull request fixes php warning by skipping arrays altogether.

This is example for yaml config part that will be parsed as php array:

```
  entities:
    - "Album"
    - "Artist"
    - "Dictionary"
    - "Event"
    - "Gallery"
    - "Images"
    - "Show"
    - "Term"
    - "User"
```