test: fix osRepository NPE in AddVmCommandTest

Change-Id: I3b56cdb63a903a6b9c5ccc8ea1f9af0f1ad0f046
Signed-off-by: Shahar Havivi <shaharh@redhat.com>