fsm: ensure masterdev has a config node before trying to add children
Merge pull request #321 from kmroz/fix-fsm-no-master-config

fsm: ensure masterdev has a config node before trying to add children