Protect against NULL result in get_attr
We really need to send *all* the daemon info whenever the daemon job has changed as new daemons need a full nidmap

cmr=v1.8.2:reviewer=jsquyres
Cannot update the proc state prior to activating the state machine as some callback functions need to compare the prior proc state against the new one.

cmr=v1.8.2:reviewer=jsquyres