Merge pull request #1 from kobliha/master

Using fixed checking for correct network definition (bnc#800592)