fix minor bugs on generate state of non-existing VM
update modules: apache, hpcloud
update module hpcloud