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.

(This is https://github.com/crowbar/barclamp-crowbar/pull/1020 for master)