fix a create quick vm issue

The logic in method to check whether a hosted service exists was reversed.