core: ImportVmCommand map iteration

Iterated over the map's values() instead of over its keySet() for better
performance.

Change-Id: Iad2eb6462b3aa0ecb514e84841291628d12935b9
Signed-off-by: Allon Mureinik <amureini@redhat.com>