Updated the boot network count check

to account for no networks in the api request
Merge pull request #13 from csdhome/fix_networks_none_issue_on_boot

Updated the boot network count check