Fixing two tests when nova-net is enabled and run_validation = True

When nova-net is enabled and CONF.validation.run_validation = True,
the following tests fail:

    1. test_can_create_server_with_max_number_personality_files
    2. test_create_server_with_personality

Tracebackes: http://paste.openstack.org/show/482444/

This patch is to fix the issue.

Change-Id: I8cc13c2a6d2928fe1aaba1f5a36086eedced787d
1 file changed