CLOUDIFY-2416 added flag to mock_provider