Fix barclamp and name methods to work w/ networks

ProposalObject is (ab)used to also write data bags that contain network
information (and not proposals).

Commit 5614efd broke this because the regular expressions were not
matching at all.

This is only really visible when the network barclamp is applied, which
is usually on install.
Merge pull request #1110 from vuntz/unbreak-install

Fix barclamp and name methods to work w/ networks