check host facts file size and skip empty ones

When the script encounters an empty host facts yaml file it terminates with

```
Could not send facts to Foreman: undefined method `[]' for false:FalseClass
```

Which could prevent some host facts from ever being send to foreman.