nova-agent.py: check length of sys.argv for resetnetwork

Avoid crashing by checking sys.argv