CFY-1373 initialize node instance only if needed in mock cloudify context