saltstack/salt — pull request #14388 by felskrone (2014-07-22 09:40:54+00:00)
Title: dont fail if data.p is empty

Not sure why my data.p is empty, but loading it fails anyway.

```bash
[CRITICAL] Unexpected Error in Mworker
Traceback (most recent call last):
File "/usr/lib/pymodules/python2.6/salt/master.py", line 613, in __bind
ret = self.serial.dumps(self._handle_payload(payload))
File "/usr/lib/pymodules/python2.6/salt/master.py", line 649, in _handle_payload
'clear': self._handle_clear}[key](load)
File "/usr/lib/pymodules/python2.6/salt/master.py", line 658, in _handle_clear
return getattr(self.clear_funcs, load['cmd'])(load)
File "/usr/lib/pymodules/python2.6/salt/master.py", line 1320, in _auth
minions = salt.utils.minions.CkMinions(self.opts).connected_ids()
File "/usr/lib/pymodules/python2.6/salt/utils/minions.py", line 422, in connected_ids
salt.utils.fopen(datap, 'rb')
AttributeError: 'NoneType' object has no attribute 'get'
```

This adds a safe-guard for opening an empty data.p.