Refactors qemu image info parsing logic

The _parse method is using position information on a list
which is not intuitive. Removed position info and did a clean up
addressing python conventions.

Change-Id: I412d62f9f5a045773b65ed38230eddec48c91e1b
Merge "Refactors qemu image info parsing logic"