Add test case for project_apply on nics w/o ports

The relevant code wasn't covered before, and the test is failing. The
fix is pretty obvious, and will be in the next commit.
Fix a trival bug re: nics w/o ports

Specifically, the network was being accessed through a variable that
didn't exist in the logging call.
Merge pull request #227 from zenhack/project_apply_bugfix

Project apply bugfix