Ignore empty pod port spec.
Merge pull request #1583 from ddysher/fix-#1550

Ignore empty pod port spec.