CLOUDIFY-2475 use new ctx in plugin