[installer][host] fix switching after download. fix file selection. fix race condition.
Merge pull request #7 from srmo/fix-use-local-image

[installer][host] fix switching after download. fix file selection. fix ...