fix UnboundLocalError in machine actions
raise MachineUnavailableError when attempting action on a missing machine
Merge pull request #264 from mistio/machine_actions_fix

fix UnboundLocalError in machine actions
Merge branch 'staging' into azure

Conflicts:
	src/mist/io/methods.py