CLOUDIFY-2600 fix bug where capabilites was not passed in case of a relationship based operation