OS-215 - Now only check cloud init if the VM is 'ACTIVE'

Change-Id: I5a717399fd8b7ab6271b9df4be4efe02ab325bae