Check that a nic has a port in project_apply

Fixes #204, though it's not totally obvious that this is the right semantic.  (It might be better to throw a warning/error somewhere.)